<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?=$title?></title>
<link href="../../css/estilos.css" rel="stylesheet" type="text/css" />
</head>
<body>
	
	
	<div id="ingreso">
		<?php echo $heading ?> 
		<ul>
		
			<?php echo form_open('tipodocente/'.$action.'/'.$registro->getIdtipodocente());?>
			
			<p>
				<label for="nombre"> Tipo de docente: </label>
				<input type="text" id="tx_tipo" name="tx_tipo" maxlength="50" size="40" value="<?php echo $registro->getTipo()?>">
				</input>
			</p>
			<?php echo form_submit('action',$submit);?>
			<?php echo form_close();?>
			
		
		</ul>
		
	</div>
	<div id="tabla">
	<div class="tabla">
		<table>
			<thead>
				<tr>
					<th>Id</th>
					<th>Tipo</th>
					<th></th>
					<th></th>
				</tr>
			</thead>
			<?php foreach ($result as $item): ?>
			<tr>
				<td><?php echo $item->getIdtipodocente();?></td>
				<td><?php echo $item->getTipo();?></td>
				<td class="editar">
					<?php echo anchor('tipodocente/editar/'.$item->getIdtipodocente(),'E')?> 
					<form method="post" action="tipodocente?variable=<?php echo $item->getIdtipodocente(); ?>" 
					/>
				</td>
				<td class="remove">
					<?php echo anchor('tipodocente/remove/'.$item->getIdtipodocente(),'X')?> 
				</td>
			</tr>
		
		<?php endforeach; ?>
		</table>
	</div>
	</div>
</body>
</html>